class Task < ActiveRecord::Base
  acts_as_authorization_object
  has_many :project_tasks
  has_many :projects, :through => :project_tasks
  
  validates_presence_of :name
  validates_uniqueness_of :name
end
